package com.gakj.truck.third.api.mapper;

import com.gakj.truck.third.core.annotation.MyBatisMapper;
import com.gakj.truck.third.core.domain.TruckInquiry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by gc on 2016/5/8.
 */
@MyBatisMapper
public interface TruckInquiryMapper {

    List<TruckInquiry> getAll();

    Long save(TruckInquiry inquiry);

    void update(TruckInquiry inquiry);

    TruckInquiry getByOumanid(@Param(value = "truckId") String truckId);

    void batchSave(List<TruckInquiry> list);

}
